package com.yehuo.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@TableName("t_user_wx")
@Data
public class UserWX {

    @TableId(value= "id",type = IdType.AUTO)
    private Long id;

    @TableField( "openid")
    private String openid;
    @TableField( "user_id")
    private String userId;
    @TableField( "nickname")
    private String nickname;
    @TableField( "sex")
    private Integer sex;
    @TableField( "province")
    private String province;
    @TableField( "city")
    private String city;
    @TableField( "country")
    private String country;
    @TableField( "headimgurl")
    private String headimgurl;
    @TableField( "unionid")
    private String unionid;
}